mips-force-nomadd4
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Sat, 10 Jul 2021 21:52:37 +0000 (22:52 +0100)
committerAndreas Beckmann <anbe@debian.org>
Sat, 10 Jul 2021 21:52:37 +0000 (22:52 +0100)
commit6b9fd05d6baa92e4703cc83a8a0e64c61aacad6d
tree94442ec0c9ddf1adb2ac8a1b3082c736aecaf4c3
parent7ec819acd78c1cc34aeadd26b2679fa060a0bcd1
mips-force-nomadd4

The MIPS port aims to support the Loongson 3 family of CPUs in addition
of the other MIPS CPUs. On the Loongson 3 family the MADD4 instructions
are fused, while they are not fused on the other MIPS CPUs. In order to
support both, we have to disabled those instructions.

For that, the patch below basically corresponds to the --with-madd4=no
used on the GCC side.

Gbp-Pq: Name mips-force-nomadd4.diff
clang/lib/Basic/Targets/Mips.h